package br.ufrj.ppgi.greco;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.EditText;


public class ActivityTeste extends Activity
{
	@Override
	public void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		
		Intent intent = this.getIntent();
		String msg = intent.getStringExtra("ENTRADA").toString();
		
		setContentView(R.layout.hoteldescricao);
		
		EditText e = (EditText) findViewById(R.id.editText1);
		
		e.setText(msg);
		
	}
	

}
